home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interplay's Learn to Program Basic (Review Copy)
/
Learn to Program Basic Review Copy (Interplay)(June 23, 1998).ISO
/
pc
/
ltpbasic
/
refxmpl
/
true.bas
< prev
next >
Wrap
BASIC Source File
|
1998-04-07
|
272b
|
16 lines
CLS
antics = TRUE
Banner "Press any key to quit the on-screen antics"
While antics
Let randcolor = Random(1,255)
Let X1 = Random(1,160)
Let Y1 = Random (1, 120)
Let X2 = X1*2
Let Y2 = Y1*2
Color randcolor
Line X1,Y1 To X2, Y2
If Inkey$ <> "" Then antics = FALSE
Wend
CLS